package collection;

import java.util.ArrayList;
import java.util.Collection;

public class collectionDemo4 {
    public static void main(String[] args) {
        Collection<String> collection = new ArrayList<>();
        collection.add("one");
        collection.add("two");
        Collection<Integer> collection1 = new ArrayList<>();
        collection1.add(10);
    }
}
